/*
 * @(#)gl_lit_tex_z_geo.java 0.1 01/02/16
 *
 * jGL 3-D graphics library for Java
 * Copyright (c) 2001 Robin Bing-Yu Chen (robin@is.s.u-tokyo.ac.jp)
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or any later version. the GNU Lesser
 * General Public License should be included with this distribution
 * in the file LICENSE.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 */

package jgl.context.geometry;

import jgl.context.gl_context;
import jgl.context.gl_pointer;

/**
 * gl_lit_tex_z_geo is the geometry class for texturing with lighting and depth value of jGL 2.3.
 *
 * @version 	0.2, 4 Dec 1999
 * @author 	Robin Bing-Yu Chen
 */

public class gl_lit_tex_z_geo extends gl_lit_tex_geo {

    protected void draw_point (float p [], int i) {
	CR.pixel.put_pixel ((int)(p[0]+(float)0.5), (int)(p[1]+(float)0.5), p[2],
			    TexCoord [i][0], TexCoord[i][1], TexCoord[i][2], VertexColor[i]);
    }

    public gl_lit_tex_z_geo (gl_context cc, gl_pointer cr) {
	super (cc, cr);
    }

}
